<?php

use Illuminate\Database\Seeder;

/**
 * 填充默认数据
 * Class DatabaseSeeder
 */
class DatabaseSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        /* 初始化设置 */
        $this->call(SettingsTableSeeder::class);

        /* 初始化权限 */
        $this->call(PermissionSeeder::class);

        /* 初始化角色 */
        $this->call(RolesTableSeeder::class);

        /* 初始化后台管理员 */
        $this->call(AdminsTableSeeder::class);

        /* 初始化菜单 */
        $this->call(MenusTableSeeder::class);

        /* 地区 */
        $this->call(AreasTableSeeder::class);

        /*数据库字典*/
        $this->call(MapsTableSeeder::class);
        $this->call(MapDataTableSeeder::class);
        //$this->call(AreasTableSeeder::class);
        //教师岗位
        $this->call(JobsTableSeeder::class);
        //教师等级
        $this->call(LevelsTableSeeder::class);
        //异常行为
        $this->call(AbnormalTableSeeder::class);
        //异常行为类类型
        $this->call(AbnormalTypeTableSeeder::class);
        //专注度
        $this->call(AttentionsTableSeeder::class);
        //纪律
        $this->call(DisciplinesTableSeeder::class);
        //积极性属性
        $this->call(EnthusiasmsTableSeeder::class);
        //达人分类
        $this->call(MastersTableSeeder::class);
        //心理属性
        $this->call(MentalTableSeeder::class);
        //时间性
        $this->call(ViewTimesTableSeeder::class);
        //班级
        $this->call(ClassesTableSeeder::class);
        //课程
        $this->call(LessonsTableSeeder::class);
        //todo：学生，老师
    }
}
